import os
import sys
import django

base_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
sys.path.append(base_dir)
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'pawnshop.settings')
django.setup()

from api import models

models.Media.objects.create(
    name='图片',
    cosUrl='19803630852-1645427981-1305448189.cos.ap-chengdu.myqcloud.com/l13c23ek1645803983515.png',
    release_id=1,

)

models.Media.objects.create(
    name='图片',
    cosUrl='19803630852-1645427981-1305448189.cos.ap-chengdu.myqcloud.com/l13c23ek1645803983515.png',
    release_id=1,

)
models.Media.objects.create(
    name='图片',
    cosUrl='19803630852-1645427981-1305448189.cos.ap-chengdu.myqcloud.com/l13c23ek1645803983515.png',
    release_id=1,

)
models.Media.objects.create(
    name='图片',
    cosUrl='19803630852-1645427981-1305448189.cos.ap-chengdu.myqcloud.com/l13c23ek1645803983515.png',
    release_id=1,
)
